Leveraging Ai In Cybersecurity: Enhancing Threat Detection And Response